<?php
/**
 * Description of Sportart
 *
 * @author riemerb
 */
class Sportart {
    private $id, 
            $sportname,
            $doing,
            $sportler;
    
    public function __construct($id,
                                $sportname,
                                $doing = '',
                                $sportler = ''
            ) 
    {
        $this->id = $id;
        $this->sportname = $sportname;
        $this->doing = $doing;
        $this->sportler = $sportler;
        
    }
    
    
    public function getId(){
        return $this->id;
    }
    public function getSportname(){
        return $this->sportname;
    }
    public function getDoing(){
        return $this->doing;
    }

    public function getSportler(){
        return $this->sportler;
    }

    public function setId($id){
        $this->id = $id;
    }
    public function setSportname($sportname){
        $this->sportname = $sportname;
    }
}

?>
